﻿using OT.Data;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace OT.Areas.Student.Models
{
    public class AttemptDtls
    {
        public long AttemptDtlID { get; set; }
        public long AttemptID { get; set; }
        public int QuestionID { get; set; }
        public string QuestionName { get; set; }

        [Required, DisplayName("SerialNo")]
        public byte SerialNo { get; set; }
        [Required, DisplayName("Answer")]
        public byte Answer { get; set; }
        [Required, DisplayName("IsRight")]
        public bool IsRight { get; set; }
        [Required, DisplayName("Marks")]
        public double Marks { get; set; }

        public byte YourAnswer { get; set; }
        public string yoursAns { get; set; }
        public byte CorrectAnswer { get; set; }
        public string CorrectAns { get; set; }
       
        public ICollection<AttemptMst> AttemptMsts { get; set; }
        public ICollection<Question> Questions { get; set; }
    }
    public class JsonReturnValue
    {
        public ICollection<BarDataStudent_Result> data { get; set; }
        public string fillcolor { get; set; }
        public string strokeColor { get; set; }
        public string highlightFill { get; set; }
        public string highlightStroke { get; set; }
    }
}